package com.qtu.order_service.entity;

import java.math.BigDecimal;

public class Details {
    private String goodsName;
    private String goodsImg;
    private int buyNum;
    private BigDecimal price;
    private BigDecimal deliveryFee;
    private BigDecimal amount;
    private String orderId;
    private int sellerId;

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public int getSellerId() {
        return sellerId;
    }

    public void setSellerId(int sellerId) {
        this.sellerId = sellerId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsImg() {
        return goodsImg;
    }

    public void setGoodsImg(String goodsImg) {
        this.goodsImg = goodsImg;
    }

    public int getBuyNum() {
        return buyNum;
    }

    public void setBuyNum(int buyNum) {
        this.buyNum = buyNum;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getDeliveryFee() {
        return deliveryFee;
    }

    public void setDeliveryFee(BigDecimal deliveryFee) {
        this.deliveryFee = deliveryFee;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    @Override
    public String toString() {
        return "Details{" +
                "goodsName='" + goodsName + '\'' +
                ", goodsImg='" + goodsImg + '\'' +
                ", buyNum=" + buyNum +
                ", price=" + price +
                ", deliveryFee=" + deliveryFee +
                ", amount=" + amount +
                ", orderId='" + orderId + '\'' +
                ", sellerId=" + sellerId +
                '}';
    }
}
